////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2005-2006 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package mx.logging.errors
{

	/**
	 *  This error is thrown when a filter specified for a target
	 *  contains invalid characters or is malformed.
	 *  This error is thrown by the following methods/properties:
	 *  <ul>
	 *    <li><code>ILoggerTarget.filters</code> if a filter expression
	 *    in this listis malformed.</li>
	 *  </ul>
	 */
	public class InvalidFilterError extends Error
	{

		//--------------------------------------------------------------------------
		//
		//  Constructor
		//
		//--------------------------------------------------------------------------

		/**
		 *  Constructor.
		 *
		 *  @param message The message that describes this error.
		 */
		public function InvalidFilterError(message:String)
		{
			super(message);
		}

		//--------------------------------------------------------------------------
		//
		//  Methods
		//
		//--------------------------------------------------------------------------

		/**
	*  Returns the messge as a String.
	*
	*  @return The message.
	*/
		public function toString():String
		{
			return String(message);
		}
	}

}
